package com.atguigu07.encapsulation.exer2;

/**
 * ClassName: book
 * Package: com.atguigu07.encapsulation.exer2
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/5/7 22:00
 * @Version 1.0
 */
public class book {
    private String bookName;
    private String author;
    private int price;

    public String getBookName() {
        return bookName;
    }
    public void setBookName(String bookName){
        this.bookName = bookName;
    }
    public void setAuthor(String author){
        this.author = author;
    }
    public String getAuthor(){
        return author;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
